log mode compact
set linedelay 1
set #a desktopwidth / 3
set #b desktopheight / 3
set workwindow 0
showwindow WindowHandle
while workwindow = 0
    hint (32 clBlack #a #b (   (Ctrl + A)))
end_while
set #handle1 workwindow
set workwindow 0
while workwindow = 0
    hint (32 clBlack #a #b (   (Ctrl + A)))
end_while
set #handle2 workwindow
set workwindow 0
get windowpos #handle1 #X #Y #width #height #result
get windowpos #handle2 #X1 #Y1 #width1 #height1 #result1
set #x #X1 - #X
set #y #Y1 - #Y
hint (32 clBlack #a #b 390 70 ( abs(#x) abs(#y)))
log  abs(#x) abs(#y)
End_script